package com.kitty.game.party.model;

import com.kitty.game.utils.TimeUtil;
import lombok.Getter;
import lombok.Setter;

/**领取帮派红包记录*/
@Getter
@Setter
public class RedBagRecord {
    private long redBagId;
    private String senderName;
    private int coin;
    private int time;

    public RedBagRecord() {}

    public RedBagRecord(long redBagId, String senderName, int coin) {
        this.redBagId = redBagId;
        this.senderName = senderName;
        this.coin = coin;
        this.time = (int) (System.currentTimeMillis() / TimeUtil.ONE_SECOND);
    }
}
